#ifndef READANDDESTROY_H
#define READANDDESTROY_H

#include "physicalconnector.hpp"
class ReadAndDestroy
{
public:
    explicit ReadAndDestroy(const Connectors::PhysicalConnector& p_commport);
    void readCodes();
    void readAndDestroy();
private:
    PartiesAddresses getAddresses();
    Connectors::PhysicalConnector m_port;
};

#endif // READANDDESTROY_H
